package com.atguigu.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**  一级分类
 * @author abc
 * @version 1.0
 * @date 2021/3/8 20:23
 */
@Data
public class OneSubject {

    private String id;

    private String title;
    //    集合
    private List<TwoSubject> children = new ArrayList<>();


}
